package com.meida.module.bus.client.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.annotation.TableAlias;
import com.meida.common.mybatis.base.entity.AbstractEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author flyme
 * @date 2020-11-21
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_report_outtwo")
@TableAlias("bro")
@ExcelTarget("busReportOuttwo")
@ApiModel(value = "BusReportOuttwo对象", description = "")
public class BusReportOuttwo extends AbstractEntity implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "主键Id")
    @TableId(value = "reportOutTwoId", type = IdType.ID_WORKER)
    private Long reportOutTwoId;

    @Excel(name = "备用",fixedIndex = 0)
    @ApiModelProperty(value = "备用字段1")
    private String otherField1;

    @Excel(name = "项目编码",fixedIndex = 1)
    @ApiModelProperty(value = "项目编码")
    private String projectCode;

    @ApiModelProperty(value = "项目编号")
    private String projectNo;

    @Excel(name = "项目名称",fixedIndex = 2)
    @ApiModelProperty(value = "项目名称")
    private String projectName;

    @Excel(name = "项目特征描述",fixedIndex = 3)
    @ApiModelProperty(value = "项目特征描述")
    private String projectDesc;

    @Excel(name = "单位",fixedIndex = 4)
    @ApiModelProperty(value = "单位")
    private String unit;

    @Excel(name = "合同工程量",fixedIndex = 5)
    @ApiModelProperty(value = "合同工程量")
    private BigDecimal contractQuantity;

    @Excel(name = "材料费",fixedIndex = 6)
    @ApiModelProperty(value = "合同造价_材料费")
    private BigDecimal contractCostMaterial;

    @Excel(name = "安装费",fixedIndex = 7)
    @ApiModelProperty(value = "合同造价_安装费")
    private BigDecimal contractCostInstall;

    @Excel(name = "综合单价", groupName = "合同造价",needMerge=true,orderNum = "9",fixedIndex = 8)
    @ApiModelProperty(value = "合同造价_综合单价")
    private BigDecimal contractSyntheticalPrice;

    @Excel(name = "总价", groupName = "合同造价",needMerge=true,orderNum = "10", fixedIndex = 9)
    @ApiModelProperty(value = "合同造价_总价")
    private BigDecimal contractCostSynthetical;

    @Excel(name = "数量", groupName = "截止上月已完工程量",needMerge=true,orderNum = "11" , fixedIndex = 10)
    @ApiModelProperty(value = "截止上月已完工程量_数量")
    private BigDecimal lastMonthFinshNum;

    @Excel(name = "总价", groupName = "截止上月已完工程量",needMerge=true,orderNum = "12" , fixedIndex = 11)
    @ApiModelProperty(value = "截止上月已完工程量_总价")
    private BigDecimal lastMonthFinshCost;

    @Excel(name = "百分比", groupName = "截止上月已完工程量",needMerge=true,orderNum = "13" , fixedIndex = 12)
    @ApiModelProperty(value = "截止上月已完工程量_百分比")
    private BigDecimal lastMonthFinshPercentage;

    @Excel(name = "数量", groupName = "本月完成量",needMerge=true,orderNum = "14" , fixedIndex = 13)
    @ApiModelProperty(value = "本月完成量_数量")
    private BigDecimal nowMonthFinshNum;

    @Excel(name = "总价", groupName = "本月完成量",needMerge=true,orderNum = "15" , fixedIndex = 14)
    @ApiModelProperty(value = "本月完成量_总价")
    private BigDecimal nowMonthFinshCost;

    @Excel(name = "百分比", groupName = "本月完成量",needMerge=true,orderNum = "16" , fixedIndex = 15)
    @ApiModelProperty(value = "本月完成量_百分比")
    private BigDecimal nowMonthFinshPercentage;

    @Excel(name = "数量", groupName = "截止本期累计",needMerge=true,orderNum = "17", fixedIndex = 16)
    @ApiModelProperty(value = "截止本期累计_数量")
    private BigDecimal nowPeriodSumNum;

    @Excel(name = "总价", groupName = "截止本期累计",needMerge=true,orderNum = "18", fixedIndex = 17)
    @ApiModelProperty(value = "截止本期累计_总价")
    private BigDecimal nowPeriodSumCost;

    @Excel(name = "百分比", groupName = "截止本期累计",needMerge=true,orderNum = "19", fixedIndex = 18)
    @ApiModelProperty(value = "截止本期累计_百分比")
    private BigDecimal nowPeriodPercentage;

    @Excel(name = "备注", fixedIndex = 19)
    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "年月")
    private String reportMonth;

    @ApiModelProperty(value = "批号")
    private Integer batchNumber;

    @ApiModelProperty(value = "备用字段2")
    private String otherField2;

    @ApiModelProperty(value = "备用字段3")
    private String otherField3;

}
